package com.hs.entity;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.Date;

public class Goods {
    private int goodsId;
    private String goodsName;
    @JSONField(format = "yyyy-MM-dd")
    private Date addTime;
    private String goodsCartCount;
    private double goodsPresentPrice;
    private int goodsSalesVolume;
    private String goodsShopName;
    private int status;
    private String goodsUnit;
    private int shopCategoryId;
    private int shopId;


    public Goods() {
    }

    public Goods(int goodsId, String goodsName, Date addTime, String goodsCartCount, double goodsPresentPrice, int goodsSalesVolume, String goodsShopName, int status, String goodsUnit, int shopCategoryId, int shopId) {
        this.goodsId = goodsId;
        this.goodsName = goodsName;
        this.addTime = addTime;
        this.goodsCartCount = goodsCartCount;
        this.goodsPresentPrice = goodsPresentPrice;
        this.goodsSalesVolume = goodsSalesVolume;
        this.goodsShopName = goodsShopName;
        this.status = status;
        this.goodsUnit = goodsUnit;
        this.shopCategoryId = shopCategoryId;
        this.shopId = shopId;
    }


    public int getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(int goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public String getGoodsCartCount() {
        return goodsCartCount;
    }

    public void setGoodsCartCount(String goodsCartCount) {
        this.goodsCartCount = goodsCartCount;
    }

    public double getGoodsPresentPrice() {
        return goodsPresentPrice;
    }

    public void setGoodsPresentPrice(double goodsPresentPrice) {
        this.goodsPresentPrice = goodsPresentPrice;
    }

    public int getGoodsSalesVolume() {
        return goodsSalesVolume;
    }

    public void setGoodsSalesVolume(int goodsSalesVolume) {
        this.goodsSalesVolume = goodsSalesVolume;
    }

    public String getGoodsShopName() {
        return goodsShopName;
    }

    public void setGoodsShopName(String goodsShopName) {
        this.goodsShopName = goodsShopName;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getGoodsUnit() {
        return goodsUnit;
    }

    public void setGoodsUnit(String goodsUnit) {
        this.goodsUnit = goodsUnit;
    }

    public int getShopCategoryId() {
        return shopCategoryId;
    }

    public void setShopCategoryId(int shopCategoryId) {
        this.shopCategoryId = shopCategoryId;
    }

    public int getShopId() {
        return shopId;
    }

    public void setShopId(int shopId) {
        this.shopId = shopId;
    }
}
